package mest.service.MoneyFlow;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import mest.dao.MoneyFlow.PlanSaleoutMoneyRecordDao;
import mest.entity.PlanSaleoutMoney;

/**
 *@Title PlanSaleoutMoneyService.java
 *@description 销售收款计划单详细
 *@time 2019年12月18日 下午2:51:04
 *@author Twinson Wong
 **/
@Service
public class PlanSaleoutMoneyRecordService {

	@Resource
	PlanSaleoutMoneyRecordDao dao;
	
	public List<PlanSaleoutMoney> selectAll(Map<String, Object> map) {
		return dao.selectAll(map);
	}
	
	public int count(Map<String, Object> map) {
		return dao.count(map);
	}

	/**
	 * 计划单操作
	 * @param map
	 * @return
	 */
	public int insert(Map<String, Object> map) {
		return dao.insert(map);
	}

	public int update(Map<String, Object> map) {
		return dao.update(map);
	}
	
	public int delete(Map<String, Object> map) {
		return dao.delete(map);
	}
	
//	public int changeStatus(Map<String, Object> map) {
//		return dao.changeStatus(map);
//	}
}
